import { Button, Space } from '@mao-fu/sun-ui';
import React from 'react';

const App: React.FC = () => (
  <div>
    <div>
      <Space>
        <Button type="primary">Primary</Button>
        <Button type="primary">Primary</Button>
      </Space>
      <span style={{ backgroundColor: 'pink' }}>内联元素</span>
    </div>
    <hr></hr>
    <div>
      <Space display="flex">
        <Button type="primary">Primary</Button>
        <Button type="primary">Primary</Button>
      </Space>
      <span style={{ backgroundColor: 'pink' }}>内联元素</span>
    </div>
  </div>
);

export default App;
